package com.itheima.service;

import com.itheima.domain.Setmeal;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

import java.util.List;
import java.util.Map;

public interface SetmealService {

    PageResult findPage(QueryPageBean queryPageBean);

    void add(Setmeal setmeal, Integer[] checkgroupIds);

    void delete(Integer id);

    Setmeal findById(Integer setmealId);

    List<Integer> findCheckGroupIdsBySetmealId(Integer setmealId);

    void edit(Setmeal setmeal, Integer[] checkgroupIds);

    List<Setmeal> findAll();

    List<Map<String, Object>> findSetmealCount();

    Map<String, Object> getSetmealReportMoneyDate(String toString);

}
